import service from 'utils/request.js'
const root = process.env.VUE_APP_URL

export function login(data) {
  return service({
    url: `${root}/unispace/admin/login/${data.username}/${data.password}`,
    method: 'post'
  })
}
